package com.project.base.core.tables;

import java.io.Serializable;

public class LogDetail implements Serializable {
    private static final long serialVersionUID = -1279942148375316933L;
    /**
     * 线程名
     */
    private String threadName;
    /**
     * 日志内容
     */
    private String content;

    public String getThreadName() {
        return threadName;
    }

    public void setThreadName(String threadName) {
        this.threadName = threadName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String toLogStr(String seperator) {
        StringBuilder builder = new StringBuilder();
        builder.append(threadName).append(seperator);
        builder.append(content).append(seperator);
        return builder.toString();
    }
}
